package cn.tedu.sims.mapper;

import cn.tedu.sims.pojo.entity.UserLogLogin;
import cn.tedu.sims.pojo.vo.UserLogLoginListItemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogLoginMapper {
    //插入数据
    int insert(UserLogLogin userLogLogin);
    //通过名字查询
    List<UserLogLoginListItemVO> selectByUserName(String username);
    //查询全部
    List<UserLogLoginListItemVO> list();
    //根据ID统计数量
    int contById(Long id);
    //根据ID删除
    int delete(Long id);
}
